<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ page import="net.tanesha.recaptcha.ReCaptcha" %>
<%@ page import="net.tanesha.recaptcha.ReCaptchaFactory" %>

	<script type="text/javascript" src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
	
	<form action="j_spring_security_check" method="post" >
		<div class="login-form">
			<div id="interior_form">
				<div style="height: 20%;">
					<div id="login_username">
						<div id="username">
							<img alt="simbolo_usuario" src="${pageContext.request.contextPath}/resources/images/user.png"><label for="j_username">Username</label>
						</div>
						<input id="j_username" name="j_username" value="benjamin" size="20" maxlength="60" type="text"/>
					</div>
					
					<div id="login_password">
						<div id="password">
							<img alt="simbolo_clave" src="${pageContext.request.contextPath}/resources/images/clave.png"/><label for="j_password">Password</label>
						</div>
						<input id="j_password" name="j_password" value="benjamin"  size="20" maxlength="60" type="password"/>
					</div>
				</div>
				
				<!-- <div id="login_captcha">
					<%
				        ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LfLdO4SAAAAAIA_jvVZ4r2wXa5JMgLET_L2tdry", "6LfLdO4SAAAAAMF6iB3FgmR-8W9M1NIOfzKtyfl8", false);
				        out.print(c.createRecaptchaHtml(null, null));
				    %>
			    </div>-->
			    
			    <div style="margin-top: 5px;">
					<div id="submit">
						<button id="botonLogin" style="width: 150px">Ingresar</button>
					</div>
				</div>
			</div>
		</div>
	</form>
	
	<div id="message">
		${message}
	</div>
	
<script>
$("#botonLogin" ).button();
</script>
